package com.thyme.system.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author nana
 * @since 2021-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("iec61850_ied_inst")
@ApiModel(value="Iec61850IedInstVo对象", description="")
public class Iec61850IedInstVo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "IED主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "ied名称")
    private String iedName;

    @ApiModelProperty(value = "ied描述")
    private String iedDesc;


    @ApiModelProperty(value = "ip地址")
    private String iedIp;

    @ApiModelProperty(value = "通信状态")
    private Boolean iedState;

    @ApiModelProperty(value = "通信状态更新时间")
    private Date updateStateTimestamp;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    public Iec61850IedInstVo() {
    }

    public Iec61850IedInstVo(Integer id, String iedName, String iedDesc, String iedIp, Boolean iedState) {
        this.id=id;
        this.iedName=iedName;
        this.iedDesc = iedDesc;
        this.iedIp=iedIp;
        this.iedState=iedState;
    }
}
